home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / common / rez-files.r / dialogutilities.r next >
Encoding:
Text File  |  1996-08-19  |  1023 b   |  54 lines

  1. /*
  2.     File: DialogUtilities.r
  3.  
  4.     Copyright 1990-91 by Thomas Knoll.
  5.     Copyright 1992-96 by Adobe Systems, Inc.
  6.  
  7.     Rez source file for Dialog Utilities.
  8. */
  9.  
  10. /********************************************************************************/
  11.  
  12. #define AlertID                16990
  13. #define StringResource        'STR '
  14.  
  15. /********************************************************************************/
  16.  
  17. /* Alerts for dialog warnings */
  18.  
  19. resource 'DITL' (AlertID, purgeable)
  20. {
  21.     {    /* array DITLarray: 2 elements */
  22.         /* [1] */
  23.         {87, 230, 107, 298},
  24.         Button {
  25.             enabled,
  26.             "OK"
  27.         },
  28.         /* [2] */
  29.         {12, 60, 76, 300},
  30.         StaticText {
  31.             disabled,
  32.             "^0"
  33.         }
  34.     }
  35. };
  36.  
  37. resource 'ALRT' (AlertID, "Alert", purgeable)
  38. {
  39.     {0, 0, 120, 310},
  40.     AlertID,
  41.     {    /* array: 4 elements */
  42.         /* [1] */
  43.         OK, visible, sound1,
  44.         /* [2] */
  45.         OK, visible, sound1,
  46.         /* [3] */
  47.         OK, visible, sound1,
  48.         /* [4] */
  49.         OK, visible, sound1
  50.     }
  51. };
  52.  
  53. /********************************************************************************/
  54.